/* 5.19 Nested Loops
 */
#include <stdio.h>
#include <math.h>
int main()
{
    int i, j;

    for (i = 1; i <= 5; i++)
    {
        printf("\ni is now %d\n",i);
        for (j = 1; j <= 4; j++)
            printf(" j=%d", j);
    }

    return 0;
}